package easy;

public class Solution_1523 {
    public int countOdds(int low, int high) {
        return (low % 2 & high % 2) + (high - low + 1) / 2;
    }

    public static void main(String[] args) {
        Solution_1523 model = new Solution_1523();
        System.out.println(model.countOdds(3, 7));
        System.out.println(model.countOdds(8, 10));
    }
}
